/*******************************************************************************
 * Copyright 2020 huanggefan.cn
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 ******************************************************************************/

window.API_METHOD_GET = "GET";
window.API_METHOD_POST = "POST";

window.API_HOST_SCHEMES = "http";
window.API_HOST_HOST = "dev.huanggefan.site:8080";
window.AuthTokenCookieName = "AuthToken";
window.AuthToken = "";
window.AuthTokenInfo = {
    "timestamp": 0,
    "lifeCycle": 0,
    "uuid": "",
    "accountID": 0,
    "name": "",
    "gender": 0,
    "collegeUUID": "",
    "disciplineUUID": "",
    "classUUID": "",
    "type": 0
};

window.API_CODE_UserRoleTypeCode_Undefine = 0;
window.API_CODE_UserRoleTypeCode_Root = 1;
window.API_CODE_UserRoleTypeCode_Maintainer = 2;
window.API_CODE_UserRoleTypeCode_Manager = 3;
window.API_CODE_UserRoleTypeCode_Leader = 4;
window.API_CODE_UserRoleTypeCode_Teacher = 5;
window.API_CODE_UserRoleTypeCode_Undergraduate = 6;
window.API_CODE_UserRoleTypeCode_GraduateStudent = 7;
window.API_CODE_UserRoleTypeCode_DoctoralStudent = 8;

window.API_CODE_UserGenderTypeCode_Other = 0;
window.API_CODE_UserGenderTypeCode_Man = 1;
window.API_CODE_UserGenderTypeCode_WoMan = 2;

window.API_CODE_QuestionLevelCode_Basic = "Basic";
window.API_CODE_QuestionLevelCode_Normal = "Normal";
window.API_CODE_QuestionLevelCode_Difficult = "Difficult";
window.API_CODE_QuestionLevelCode_Challenging = "Challenging";

window.API_CODE_QuestionTypeCode_Single = "Single";
window.API_CODE_QuestionTypeCode_Multiple = "Multiple";
window.API_CODE_QuestionTypeCode_Judge = "Judge";

window.API_URL_UserInfo_ChangeUserRole = "/api/v1/userInfo/ChangeUserRole";
window.API_URL_UserInfo_DeleteUser = "/api/v1/userInfo/DeleteUser";
window.API_URL_UserInfo_Login = "/api/v1/userInfo/Login";
window.API_URL_UserInfo_ResetPassword = "/api/v1/userInfo/ResetPassword";
window.API_URL_UserInfo_SignUp = "/api/v1/userInfo/SignUp";
window.API_URL_UserInfo_UpdateInfo = "/api/v1/userInfo/UpdateInfo";
window.API_URL_UserInfo_UpdatePassword = "/api/v1/userInfo/UpdatePassword";
window.API_URL_UserInfo_GetUserUUID = "/api/v1/userInfo/GetUserUUID";

window.API_URL_CollegeStruct_CreateCollege = "/api/v1/collegeStruct/CreateCollege";
window.API_URL_CollegeStruct_DeleteCollege = "/api/v1/collegeStruct/DeleteCollege";
window.API_URL_CollegeStruct_GetCollege = "/api/v1/collegeStruct/GetCollege/{0}/{1}";
window.API_URL_CollegeStruct_ListCollege = "/api/v1/collegeStruct/ListCollege/{0}";
window.API_URL_CollegeStruct_SetCollegeManager = "/api/v1/collegeStruct/SetCollegeManager";
window.API_URL_CollegeStruct_UnSetCollegeManager = "/api/v1/collegeStruct/UnSetCollegeManager";
window.API_URL_CollegeStruct_UpdateCollege = "/api/v1/collegeStruct/UpdateCollege";

window.API_URL_DisciplineStruct_CreateDiscipline = "/api/v1/disciplineStruct/CreateDiscipline";
window.API_URL_DisciplineStruct_DeleteDiscipline = "/api/v1/disciplineStruct/DeleteDiscipline";
window.API_URL_DisciplineStruct_GetDiscipline = "/api/v1/disciplineStruct/GetDiscipline/{0}/{1}";
window.API_URL_DisciplineStruct_ListCollegeDiscipline = "/api/v1/disciplineStruct/ListCollegeDiscipline/{0}/{1}";
window.API_URL_DisciplineStruct_ListDiscipline = "/api/v1/disciplineStruct/ListDiscipline/{0}";
window.API_URL_DisciplineStruct_SetDisciplineManager = "/api/v1/disciplineStruct/SetDisciplineManager";
window.API_URL_DisciplineStruct_UnSetDisciplineManager = "/api/v1/disciplineStruct/UnSetDisciplineManager";
window.API_URL_DisciplineStruct_UpdateDiscipline = "/api/v1/disciplineStruct/UpdateDiscipline";

window.API_URL_ClassStruct_CreateClass = "/api/v1/classStruct/CreateClass";
window.API_URL_ClassStruct_DeleteClass = "/api/v1/classStruct/DeleteClass";
window.API_URL_ClassStruct_GetClass = "/api/v1/classStruct/GetClass/{0}/{1}";
window.API_URL_ClassStruct_ListAllCollegeClass = "/api/v1/classStruct/ListAllCollegeClass/{0}/{1}";
window.API_URL_ClassStruct_ListAllDisciplineClass = "/api/v1/classStruct/ListAllDisciplineClass/{0}/{1}";
window.API_URL_ClassStruct_ListClass = "/api/v1/classStruct/ListClass/{AuthToken}";
window.API_URL_ClassStruct_SetClassManager = "/api/v1/classStruct/SetClassManager";
window.API_URL_ClassStruct_UnSetClassManager = "/api/v1/classStruct/UnSetClassManager";
window.API_URL_ClassStruct_UpdateClass = "/api/v1/classStruct/UpdateClass";

window.API_URL_Course_CreateCourse = "/api/v1/course/CreateCourse";
window.API_URL_Course_DeleteCourse = "/api/v1/course/DeleteCourse";
window.API_URL_Course_GetCourse = "/api/v1/course/GetCourse/{0}/{1}";
window.API_URL_Course_ListCollegeCourse = "/api/v1/course/ListCollegeCourse/{0}/{1}";
window.API_URL_Course_ListDisciplineCourse = "/api/v1/course/ListDisciplineCourse/{0}/{1}";
window.API_URL_Course_SetCourseManager = "/api/v1/course/SetCourseManager";
window.API_URL_Course_UnSetCourseManager = "/api/v1/course/UnSetCourseManager";
window.API_URL_Course_UpdateCourse = "/api/v1/course/UpdateCourse";

window.API_URL_Chapter_CreateChapter = "/api/v1/chapter/CreateChapter";
window.API_URL_Chapter_DeleteChapter = "/api/v1/chapter/DeleteChapter";
window.API_URL_Chapter_GetChapter = "/api/v1/chapter/GetChapter/{0}/{1}";
window.API_URL_Chapter_GetContent = "/api/v1/chapter/GetContent/{0}/{1}";
window.API_URL_Chapter_ListChapter = "/api/v1/chapter/ListChapter/{0}/{1}";
window.API_URL_Chapter_SetChapterManager = "/api/v1/chapter/SetChapterManager";
window.API_URL_Chapter_UnSetChapterManager = "/api/v1/chapter/UnSetChapterManager";
window.API_URL_Chapter_UpdateChapter = "/api/v1/chapter/UpdateChapter";
window.API_URL_Chapter_UpdateContent = "/api/v1/chapter/UpdateContent";

window.API_URL_QuestionBank_CreateQuestionBank = "/api/v1/questionBank/CreateQuestionBank";
window.API_URL_QuestionBank_DeleteQuestionBank = "/api/v1/questionBank/DeleteQuestionBank";
window.API_URL_QuestionBank_GetQuestionBank = "/api/v1/questionBank/GetQuestionBank/{0}/{1}";
window.API_URL_QuestionBank_ListQuestionBank = "/api/v1/questionBank/ListQuestionBank/{0}/{1}";
window.API_URL_QuestionBank_SetQuestionBankManager = "/api/v1/questionBank/SetQuestionBankManager";
window.API_URL_QuestionBank_UnSetQuestionBankManager = "/api/v1/questionBank/UnSetQuestionBankManager";
window.API_URL_QuestionBank_UpdateQuestionBank = "/api/v1/questionBank/UpdateQuestionBank";

window.API_URL_Question_CreateQuestion = "/api/v1/question/CreateQuestion";
window.API_URL_Question_DeleteQuestion = "/api/v1/question/DeleteQuestion";
window.API_URL_Question_GetQuestion = "/api/v1/question/GetQuestion/{0}/{1}";
window.API_URL_Question_ListQuestion = "/api/v1/question/ListQuestion/{0}/{1}";
window.API_URL_Question_ShowQuestions = "/api/v1/question/ShowQuestions";
window.API_URL_Question_UpdateQuestion = "/api/v1/question/UpdateQuestion";

window.API_Request_UserInfo_ChangeUserRole = {
    "WillChangeAccountID": 0,
    "NewRoleCode": "Undefine",
    "AuthToken": "string"
};
window.API_Request_UserInfo_DeleteUser = {
    "WillChangeAccountID": 0,
    "AuthToken": "string"
};
window.API_Request_UserInfo_Login = {
    "AccountID": 0,
    "PasswordMD5": "string"
};
window.API_Request_UserInfo_ResetPassword = {
    "WillChangeAccountID": 0,
    "AuthToken": "string"
};
window.API_Request_UserInfo_SignUp = {
    "AccountID": 0,
    "PasswordMD5": "string",
    "PasswordVerifyMd5": "string",
    "CollegeUUID": "string",
    "DisciplineUUID": "string",
    "ClassUUID": "string",
    "RoleType": "Undefine",
    "AuthToken": "string"
};
window.API_Request_UserInfo_UpdateInfo = {
    "NewName": "string",
    "NewGender": "Other",
    "NewCollegeUUID": "string",
    "NewDisciplineUUID": "string",
    "NewClassUUID": "string",
    "AuthToken": "string"
};
window.API_Request_UserInfo_UpdatePassword = {
    "NewPasswordMD5": "string",
    "VerifyNewPasswordMD5": "string",
    "AuthToken": "string"
};
window.API_Request_UserInfo_GetUserUUID = {
    "WillGetAccount": 0,
    "AuthToken": "string"
};

window.API_Response_UserInfo_ChangeUserRole = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_UserInfo_DeleteUser = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_UserInfo_Login = {
    "Token": "string",
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_UserInfo_ResetPassword = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_UserInfo_SignUp = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_UserInfo_UpdateInfo = {
    "NewToken": "string",
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_UserInfo_UpdatePassword = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_UserInfo_GetUserUUID =  {
    "UUID": "string",
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};

window.API_Request_CollegeStruct_CreateCollege = {
    "Name": "string",
    "Description": "string",
    "ManagerUUID": "string",
    "AuthToken": "string"
};
window.API_Request_CollegeStruct_DeleteCollege = {
    "WillDeleteUUID": "string",
    "AuthToken": "string"
};
window.API_Request_CollegeStruct_GetCollege = {
    "CollegeUUID": "",
    "AuthToken": ""
};
window.API_Request_CollegeStruct_ListCollege = {
    "AuthToken": ""
};
window.API_Request_CollegeStruct_SetCollegeManager = {
    "WillSetCollegeUUID": "string",
    "WillSetManagerUUID": "string",
    "AuthToken": "string"
};
window.API_Request_CollegeStruct_UnSetCollegeManager = {
    "WillUnSetCollegeUUID": "string",
    "WillUnSetManagerUUID": "string",
    "AuthToken": "string"
};
window.API_Request_CollegeStruct_UpdateCollege = {
    "NewName": "string",
    "NewDescription": "string",
    "WillUpdateUUID": "string",
    "AuthToken": "string"
};

window.API_Response_CollegeStruct_CreateCollege = {
    "UUID": "string",
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_CollegeStruct_DeleteCollege = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_CollegeStruct_GetCollege = {
    "Name": "string",
    "Description": "string",
    "ManagerUUID": [
        "string"
    ],
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_CollegeStruct_ListCollege = {
    "Colleges": [
        {
            "UUID": "string",
            "Name": "string",
            "Description": "string",
            "ManagerUUID": [
                "string"
            ]
        }
    ],
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_CollegeStruct_SetCollegeManager = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_CollegeStruct_UnSetCollegeManager = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_CollegeStruct_UpdateCollege = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};

window.API_Request_DisciplineStruct_CreateDiscipline = {
    "Name": "string",
    "Description": "string",
    "ManagerUUID": "string",
    "CollegeUUID": "string",
    "AuthToken": "string"
};
window.API_Request_DisciplineStruct_DeleteDiscipline = {
    "WillDeleteUUID": "string",
    "AuthToken": "string"
};
window.API_Request_DisciplineStruct_GetDiscipline = {
    "DisciplineUUID": "",
    "AuthToken": ""
};
window.API_Request_DisciplineStruct_ListCollegeDiscipline = {
    "CollegeUUID": "",
    "AuthToken": ""
};
window.API_Request_DisciplineStruct_ListDiscipline = {
    "AuthToken": ""
};
window.API_Request_DisciplineStruct_SetDisciplineManager = {
    "WillSetDisciplineUUID": "string",
    "WillSetManagerUUID": "string",
    "AuthToken": "string"
};
window.API_Request_DisciplineStruct_UnSetDisciplineManager = {
    "WillUnSetDisciplineUUID": "string",
    "WillUnSetManagerUUID": "string",
    "AuthToken": "string"
};
window.API_Request_DisciplineStruct_UpdateDiscipline = {
    "NewName": "string",
    "NewDescription": "string",
    "WillUpdateUUID": "string",
    "AuthToken": "string"
};

window.API_Response_DisciplineStruct_CreateDiscipline = {
    "UUID": "string",
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_DisciplineStruct_DeleteDiscipline = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_DisciplineStruct_GetDiscipline = {
    "Name": "string",
    "Description": "string",
    "CollegeUUID": "string",
    "ManagerUUID": [
        "string"
    ],
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_DisciplineStruct_ListCollegeDiscipline = {
    "Disciplines": [
        {
            "UUID": "string",
            "Name": "string",
            "Description": "string",
            "CollegeUUID": "string",
            "ManagerUUID": [
                "string"
            ]
        }
    ],
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_DisciplineStruct_ListDiscipline = {
    "Disciplines": [
        {
            "UUID": "string",
            "Name": "string",
            "Description": "string",
            "CollegeUUID": "string",
            "ManagerUUID": [
                "string"
            ]
        }
    ],
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_DisciplineStruct_SetDisciplineManager = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_DisciplineStruct_UnSetDisciplineManager = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_DisciplineStruct_UpdateDiscipline = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};

window.API_Request_ClassStruct_CreateClass = {
    "Name": "string",
    "Description": "string",
    "ManagerUUID": "string",
    "DisciplineUUID": "string",
    "AuthToken": "string"
};
window.API_Request_ClassStruct_DeleteClass = {
    "WillDeleteUUID": "string",
    "AuthToken": "string"
};
window.API_Request_ClassStruct_GetClass = {
    "ClassUUID": "",
    "AuthToken": ""
};
window.API_Request_ClassStruct_ListAllCollegeClass = {
    "CollegeUUID": "",
    "AuthToken": ""
};
window.API_Request_ClassStruct_ListAllDisciplineClass = {
    "DisciplineUUID": "",
    "AuthToken": ""
};
window.API_Request_ClassStruct_ListClass = {
    "AuthToken": ""
};
window.API_Request_ClassStruct_SetClassManager = {
    "WillSetClassUUID": "string",
    "WillSetManagerUUID": "string",
    "AuthToken": "string"
};
window.API_Request_ClassStruct_UnSetClassManager = {
    "WillUnSetClassUUID": "string",
    "WillUnSetManagerUUID": "string",
    "AuthToken": "string"
};
window.API_Request_ClassStruct_UpdateClass = {
    "NewName": "string",
    "NewDescription": "string",
    "WillUpdateUUID": "string",
    "AuthToken": "string"
};

window.API_Response_ClassStruct_CreateClass = {
    "UUID": "string",
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_ClassStruct_DeleteClass = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_ClassStruct_GetClass = {
    "Name": "string",
    "Description": "string",
    "CollegeUUID": "string",
    "DisciplineUUID": "string",
    "ManagerUUID": [
        "string"
    ],
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_ClassStruct_ListAllCollegeClass = {
    "Class": [
        {
            "UUID": "string",
            "Name": "string",
            "Description": "string",
            "CollegeUUID": "string",
            "DisciplineUUID": "string",
            "ManagerUUID": [
                "string"
            ]
        }
    ],
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_ClassStruct_ListAllDisciplineClass = {
    "Class": [
        {
            "UUID": "string",
            "Name": "string",
            "Description": "string",
            "CollegeUUID": "string",
            "DisciplineUUID": "string",
            "ManagerUUID": [
                "string"
            ]
        }
    ],
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_ClassStruct_ListClass = {
    "Class": [
        {
            "UUID": "string",
            "Name": "string",
            "Description": "string",
            "CollegeUUID": "string",
            "DisciplineUUID": "string",
            "ManagerUUID": [
                "string"
            ]
        }
    ],
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_ClassStruct_SetClassManager = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_ClassStruct_UnSetClassManager = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_ClassStruct_UpdateClass = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};

window.API_Request_Course_CreateCourse = {
    "Name": "string",
    "Description": "string",
    "ManagerUUID": "string",
    "DisciplineUUID": "string",
    "AuthToken": "string"
};
window.API_Request_Course_DeleteCourse = {
    "WillDeleteUUID": "string",
    "AuthToken": "string"
};
window.API_Request_Course_GetCourse = {
    "CourseUUID": "",
    "AuthToken": ""
};
window.API_Request_Course_ListCollegeCourse = {
    "CollegeUUID": "",
    "AuthToken": ""
};
window.API_Request_Course_ListDisciplineCourse = {
    "DisciplineUUID": "",
    "AuthToken": ""
};
window.API_Request_Course_SetCourseManager = {
    "WillSetCourseUUID": "string",
    "WillSetManagerUUID": "string",
    "AuthToken": "string"
};
window.API_Request_Course_UnSetCourseManager = {
    "WillUnSetCourseUUID": "string",
    "WillUnSetManagerUUID": "string",
    "AuthToken": "string"
};
window.API_Request_Course_UpdateCourse = {
    "NewName": "string",
    "NewDescription": "string",
    "WillUpdateUUID": "string",
    "AuthToken": "string"
};

window.API_Response_Course_CreateCourse = {
    "UUID": "string",
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Course_DeleteCourse = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Course_GetCourse = {
    "Name": "string",
    "Description": "string",
    "ManagerUUID": [
        "string"
    ],
    "CollegeUUID": "string",
    "DisciplineUUID": "string",
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Course_ListClassCourse = {
    "Course": [
        {
            "UUID": "string",
            "Name": "string",
            "Description": "string",
            "CollegeUUID": "string",
            "DisciplineUUID": "string",
            "ManagerUUID": [
                "string"
            ]
        }
    ],
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Course_ListCollegeCourse = {
    "Course": [
        {
            "UUID": "string",
            "Name": "string",
            "Description": "string",
            "CollegeUUID": "string",
            "DisciplineUUID": "string",
            "ManagerUUID": [
                "string"
            ]
        }
    ],
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Course_ListDisciplineCourse = {
    "Course": [
        {
            "UUID": "string",
            "Name": "string",
            "Description": "string",
            "CollegeUUID": "string",
            "DisciplineUUID": "string",
            "ManagerUUID": [
                "string"
            ]
        }
    ],
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Course_ListUserCourse = {
    "Course": [
        {
            "UUID": "string",
            "Name": "string",
            "Description": "string",
            "CollegeUUID": "string",
            "DisciplineUUID": "string",
            "ManagerUUID": [
                "string"
            ]
        }
    ],
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Course_SetCourseManager = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Course_UnSetCourseManager = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Course_UpdateCourse = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};

window.API_Request_Chapter_CreateChapter = {
    "Name": "string",
    "Description": "string",
    "ManagerUUID": "string",
    "CourseUUID": "string",
    "Index": 0,
    "AuthToken": "string"
};
window.API_Request_Chapter_DeleteChapter = {
    "WillDeleteUUID": "string",
    "AuthToken": "string"
};
window.API_Request_Chapter_GetChapter = {
    "ChapterUUID": "",
    "AuthToken": ""
};
window.API_Request_Chapter_GetContent = {
    "ChapterUUID": "",
    "AuthToken": ""
};
window.API_Request_Chapter_ListChapter = {
    "CourseUUID": "",
    "AuthToken": ""
};
window.API_Request_Chapter_SetChapterManager = {
    "WillSetChapterUUID": "string",
    "WillSetManagerUUID": "string",
    "AuthToken": "string"
};
window.API_Request_Chapter_UnSetChapterManager = {
    "WillUnSetChapterUUID": "string",
    "WillUnSetManagerUUID": "string",
    "AuthToken": "string"
};
window.API_Request_Chapter_UpdateChapter = {
    "NewName": "string",
    "NewDescription": "string",
    "WillUpdateUUID": "string",
    "AuthToken": "string"
};
window.API_Request_Chapter_UpdateContent = {
    "WillUpdateUUID": "string",
    "MarkdownBase64": "string",
    "AuthToken": "string"
};

window.API_Response_Chapter_CreateChapter = {
    "UUID": "string",
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Chapter_DeleteChapter = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Chapter_GetChapter = {
    "Name": "string",
    "Description": "string",
    "ManagerUUID": [
        "string"
    ],
    "Index": 0,
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Chapter_GetContent = {
    "MarkdownBase64": "string",
    "LastChange": "string",
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Chapter_ListChapter = {
    "Chapter": [
        {
            "UUID": "string",
            "Name": "string",
            "Description": "string",
            "ManagerUUID": [
                "string"
            ],
            "Index": 0
        }
    ],
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Chapter_SetChapterManager = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Chapter_UnSetChapterManager = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Chapter_UpdateChapter = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Chapter_UpdateContent = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};

window.API_Request_QuestionBank_CreateQuestionBank = {
    "Name": "string",
    "Description": "string",
    "ManagerUUID": "string",
    "CourseUUID": "string",
    "AuthToken": "string"
};
window.API_Request_QuestionBank_DeleteQuestionBank = {
    "WillDeleteUUID": "string",
    "AuthToken": "string"
};
window.API_Request_QuestionBank_GetQuestionBank = {
    "QuestionBankUUID": "",
    "AuthToken": ""
};
window.API_Request_QuestionBank_ListQuestionBank = {
    "CourseUUID": "",
    "AuthToken": ""
};
window.API_Request_QuestionBank_SetQuestionBankManager = {
    "WillSetQuestionBankUUID": "string",
    "WillSetManagerUUID": "string",
    "AuthToken": "string"
};
window.API_Request_QuestionBank_UnSetQuestionBankManager = {
    "WillUnSetQuestionBankUUID": "string",
    "WillUnSetManagerUUID": "string",
    "AuthToken": "string"
};
window.API_Request_QuestionBank_UpdateQuestionBank = {
    "Name": "string",
    "Description": "string",
    "WillUpdateUUID": "string",
    "AuthToken": "string"
};

window.API_Response_QuestionBank_CreateQuestionBank = {
    "UUID": "string",
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_QuestionBank_DeleteQuestionBank = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_QuestionBank_GetQuestionBank = {
    "Name": "string",
    "Description": "string",
    "Managers": [
        "string"
    ],
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_QuestionBank_ListQuestionBank = {
    "UUID": "string",
    "Name": "string",
    "Description": "string",
    "Managers": [
        "string"
    ],
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_QuestionBank_SetQuestionBankManager = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_QuestionBank_UnSetQuestionBankManager = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_QuestionBank_UpdateQuestionBank = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};

window.API_Request_Question_CreateQuestion = {
    "Question": {
        "QuestionBase64": "string",
        "AnalysisBase64": "string",
        "AnswerBase64A": "string",
        "AnswerBase64B": "string",
        "AnswerBase64C": "string",
        "AnswerBase64D": "string",
        "IsA": true,
        "IsB": true,
        "IsC": true,
        "IsD": true,
        "IsTrue": true,
        "Type": "Single",
        "Level": "Basic",
        "UUID": "string"
    },
    "BankUUID": "string",
    "AuthToken": "string"
};
window.API_Request_Question_DeleteQuestion = {
    "WillDeleteUUID": "string",
    "AuthToken": "string"
};
window.API_Request_Question_GetQuestion = {
    "QuestionUUID": "",
    "AuthToken": ""
};
window.API_Request_Question_ListQuestion = {
    "QuestionBankUUID": "",
    "AuthToken": ""
};
window.API_Request_Question_ShowQuestions = {
    "QuestionUUIDList": [
        "string"
    ],
    "AuthToken": "string"
};
window.API_Request_Question_UpdateQuestion = {
    "Question": {
        "QuestionBase64": "string",
        "AnalysisBase64": "string",
        "AnswerBase64A": "string",
        "AnswerBase64B": "string",
        "AnswerBase64C": "string",
        "AnswerBase64D": "string",
        "IsA": true,
        "IsB": true,
        "IsC": true,
        "IsD": true,
        "IsTrue": true,
        "Type": "Single",
        "Level": "Basic",
        "UUID": "string"
    },
    "WillUpdateUUID": "string",
    "AuthToken": "string"
};

window.API_Response_Question_CreateQuestion = {
    "UUID": "string",
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Question_DeleteQuestion = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Question_GetQuestion = {
    "Question": {
        "QuestionBase64": "string",
        "AnalysisBase64": "string",
        "AnswerBase64A": "string",
        "AnswerBase64B": "string",
        "AnswerBase64C": "string",
        "AnswerBase64D": "string",
        "IsA": true,
        "IsB": true,
        "IsC": true,
        "IsD": true,
        "IsTrue": true,
        "Type": "Single",
        "Level": "Basic",
        "UUID": "string"
    },
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Question_ListQuestion = {
    "Questions": [
        {
            "QuestionBase64": "string",
            "AnalysisBase64": "string",
            "AnswerBase64A": "string",
            "AnswerBase64B": "string",
            "AnswerBase64C": "string",
            "AnswerBase64D": "string",
            "IsA": true,
            "IsB": true,
            "IsC": true,
            "IsD": true,
            "IsTrue": true,
            "Type": "Single",
            "Level": "Basic",
            "UUID": "string"
        }
    ],
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Question_ShowQuestions = {
    "Questions": [
        {
            "QuestionBase64": "string",
            "AnalysisBase64": "string",
            "AnswerBase64A": "string",
            "AnswerBase64B": "string",
            "AnswerBase64C": "string",
            "AnswerBase64D": "string",
            "IsA": true,
            "IsB": true,
            "IsC": true,
            "IsD": true,
            "IsTrue": true,
            "Type": "Single",
            "Level": "Basic",
            "UUID": "string"
        }
    ],
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};
window.API_Response_Question_UpdateQuestion = {
    "Status": {
        "Code": "ServerError",
        "Message": "string",
        "Error": "string"
    }
};

window.API_URL_Resource_PutJPG = "/api/v1/resource/putJPG";
window.API_URL_Resource_PutPNG = "/api/v1/resource/putPNG";
window.API_URL_Resource_PutPPT = "/api/v1/resource/putPPT";
window.API_URL_Resource_PutXLS = "/api/v1/resource/putXLS";
window.API_URL_Resource_PutDOC = "/api/v1/resource/putDOC";
window.API_URL_Resource_PutPPTX = "/api/v1/resource/putPPTX";
window.API_URL_Resource_PutXLSX = "/api/v1/resource/putXLSX";
window.API_URL_Resource_PutDOCX = "/api/v1/resource/putDOCX";
window.API_URL_Resource_PutPDF = "/api/v1/resource/putPDF";
window.API_URL_Resource_PutMP3 = "/api/v1/resource/putMP3";
window.API_URL_Resource_PutMP4 = "/api/v1/resource/putMP4";
window.API_URL_Resource_PutZIP = "/api/v1/resource/putZIP";
window.API_URL_Resource_GetResource = "/api/v1/resource/getResource";
window.API_URL_Resource_ListResource = "/api/v1/resource/listResource";
window.API_URL_Resource_DeleteResource = "/api/v1/resource/deleteResource";

window.API_Request_Resource_PutJPG = {
    "name": "",
    "file": File,
    "chapter": "",
    "AuthToken": ""
};
window.API_Request_Resource_PutPNG = {
    "name": "",
    "file": File,
    "chapter": "",
    "AuthToken": ""
};
window.API_Request_Resource_PutPPT = {
    "name": "",
    "file": File,
    "chapter": "",
    "AuthToken": ""
};
window.API_Request_Resource_PutXLS = {
    "name": "",
    "file": File,
    "chapter": "",
    "AuthToken": ""
};
window.API_Request_Resource_PutDOC = {
    "name": "",
    "file": File,
    "chapter": "",
    "AuthToken": ""
};
window.API_Request_Resource_PutPPTX = {
    "name": "",
    "file": File,
    "chapter": "",
    "AuthToken": ""
};
window.API_Request_Resource_PutXLSX = {
    "name": "",
    "file": File,
    "chapter": "",
    "AuthToken": ""
};
window.API_Request_Resource_PutDOCX = {
    "name": "",
    "file": File,
    "chapter": "",
    "AuthToken": ""
};
window.API_Request_Resource_PutPDF = {
    "name": "",
    "file": File,
    "chapter": "",
    "AuthToken": ""
};
window.API_Request_Resource_PutMP3 = {
    "name": "",
    "file": File,
    "chapter": "",
    "AuthToken": ""
};
window.API_Request_Resource_PutMP4 = {
    "name": "",
    "file": File,
    "chapter": "",
    "AuthToken": ""
};
window.API_Request_Resource_PutZIP = {
    "name": "",
    "file": File,
    "chapter": "",
    "AuthToken": ""
};
window.API_Request_Resource_GetResource = {
    "file": "",
    "AuthToken": ""
};
window.API_Request_Resource_ListResource = {
    "chapter": "",
    "AuthToken": ""
};
window.API_Request_Resource_DeleteResource = {
    "file": "",
    "AuthToken": ""
};

window.API_Response_Resource_PutJPG = {
    "code": 0,
    "info": {
        "uuid": "string",
        "type": "string",
        "name": "string",
        "time": 0,
        "user": "string"
    }
};
window.API_Response_Resource_PutPNG = {
    "code": 0,
    "info": {
        "uuid": "string",
        "type": "string",
        "name": "string",
        "time": 0,
        "user": "string"
    }
};
window.API_Response_Resource_PutPPT = {
    "code": 0,
    "info": {
        "uuid": "string",
        "type": "string",
        "name": "string",
        "time": 0,
        "user": "string"
    }
};
window.API_Response_Resource_PutXLS = {
    "code": 0,
    "info": {
        "uuid": "string",
        "type": "string",
        "name": "string",
        "time": 0,
        "user": "string"
    }
};
window.API_Response_Resource_PutDOC = {
    "code": 0,
    "info": {
        "uuid": "string",
        "type": "string",
        "name": "string",
        "time": 0,
        "user": "string"
    }
};
window.API_Response_Resource_PutPPTX = {
    "code": 0,
    "info": {
        "uuid": "string",
        "type": "string",
        "name": "string",
        "time": 0,
        "user": "string"
    }
};
window.API_Response_Resource_PutXLSX = {
    "code": 0,
    "info": {
        "uuid": "string",
        "type": "string",
        "name": "string",
        "time": 0,
        "user": "string"
    }
};
window.API_Response_Resource_PutDOCX = {
    "code": 0,
    "info": {
        "uuid": "string",
        "type": "string",
        "name": "string",
        "time": 0,
        "user": "string"
    }
};
window.API_Response_Resource_PutPDF = {
    "code": 0,
    "info": {
        "uuid": "string",
        "type": "string",
        "name": "string",
        "time": 0,
        "user": "string"
    }
};
window.API_Response_Resource_PutMP3 = {
    "code": 0,
    "info": {
        "uuid": "string",
        "type": "string",
        "name": "string",
        "time": 0,
        "user": "string"
    }
};
window.API_Response_Resource_PutMP4 = {
    "code": 0,
    "info": {
        "uuid": "string",
        "type": "string",
        "name": "string",
        "time": 0,
        "user": "string"
    }
};
window.API_Response_Resource_PutZIP = {
    "code": 0,
    "info": {
        "uuid": "string",
        "type": "string",
        "name": "string",
        "time": 0,
        "user": "string"
    }
};
window.API_Response_Resource_GetResource = {};
window.API_Response_Resource_ListResource = {
    "code": 0,
    "info": [
        {
            "uuid": "string",
            "type": "string",
            "name": "string",
            "time": 0,
            "user": "string"
        }
    ]
};
window.API_Response_Resource_DeleteResource = {
    "code": 0
};
